import Main from '@/views/main.vue';
import IFrame from '@/components/IFrame'
import ChildView from '@/components/ChildView'

export default [
    {
        path: '/platform',
        name: 'platform',
        meta: {
            icon: 'el-icon-menu',
            title: '平台管理',
            access: ['mall:goods:page']
        },
        component: Main,
        children: [
            {
                path: 'tenant',
                name: 'tenant',
                meta: {
                    icon: 'el-icon-menu',
                    title: '商户管理',
                    access: ['system:user:page']
                },
                component: () => import('@/views/mall/pmsspu/index.vue')
            },
            {
                path: 'enter_apply',
                name: 'enter_apply',
                meta: {
                    icon: 'el-icon-menu',
                    title: '入驻申请',
                    access: ['system:user:page']
                },
                component: () => import('@/views/mall/pmsspu/index.vue')
            },
            // {
            //     path: 'enter_apply',
            //     name: 'enter_apply',
            //     meta: {
            //         title: '入驻申请',
            //         hideInMenu: true
            //     },
            //     component: () => import('@/views/mall/pmsspu/add-or-update-page')
            // },

        ]
    },




];
